package main

import "fmt"

func main() {

	// 第二种方式
	cities := make(map[string]string)
	cities["no1"] = "北京"
	cities["no2"] = "北京"
	cities["no3"] = "北京"

	fmt.Println(cities)

	// 第三种方式
	heroes := map[string]string{
		"hero1": "a",
		"hero2": "b",
	}
	heroes["hero3"] = "c"

	fmt.Println(heroes)



}